#if !defined(AFX_SHOPGETHERINGDLG_H__6B937911_C2F5_4B80_908E_49E2050B9987__INCLUDED_)
#define AFX_SHOPGETHERINGDLG_H__6B937911_C2F5_4B80_908E_49E2050B9987__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ShopGetheringDlg.h : header file
#include "Resource.h"
//
__declspec(dllimport) BOOL CallGoodsIntroDlg(_ConnectionPtr m_pConnection);
__declspec(dllimport) BOOL CallDemandInfoDlg(_ConnectionPtr m_pConnection );

/////////////////////////////////////////////////////////////////////////////
// CShopGetheringDlg dialog

class CShopGetheringDlg : public CDialog
{
// Construction
public:
	CShopGetheringDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CShopGetheringDlg)
	enum { IDD = IDD_DIALOG_SHOPGETHERING };
	CListCtrl	m_ctlGoodsNumberList;
	long	m_lGoodsNumber;
	long	m_lGoodsNumberF;
	CString	m_strRemark;
	long	m_lSellSum;
	long	m_lSellNumber;
	long	m_lSellNumberF;
	double	m_dblTotalMoney;
	long	m_lSeller;
	COleDateTime	m_tSellDateF;
	COleDateTime	m_tSellDate;
	double	m_dblSumGethering;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CShopGetheringDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CShopGetheringDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnAdd();
	afx_msg void OnClose();
	afx_msg void OnEdit();
	afx_msg void OnGoodsnumber();
	afx_msg void OnPrint();
	afx_msg void OnClickList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnSellnumber();
	afx_msg void OnSelldate();
	afx_msg void OnNextpage();
	afx_msg void OnPrevpage();
	afx_msg void OnTop();
	afx_msg void OnRefresh();
	afx_msg void OnDel();
	afx_msg void OnChangeSellsum();
	afx_msg void OnGodemand();
	afx_msg void OnGogoods();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

public:
	_ConnectionPtr m_pConnection;
	_RecordsetPtr m_pRecordset;
//	_CommandPtr m_pCommand;
	void Openset();
	void Closeset();
	void GetEditValue();
	void SetEditValue();
	void SetListColumn();
	void GetListValue(int j);
	void LinkListEdit(int i);
	void SumGethering();

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SHOPGETHERINGDLG_H__6B937911_C2F5_4B80_908E_49E2050B9987__INCLUDED_)
